home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19981211-19990422 / 000428_news@watsun.cc.columbia.edu _Fri Apr 2 12:51:52 1999.msg < prev    next >
Internet Message Format  |  2020-01-01  |  1KB

  1. Return-Path: <news@watsun.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA21968
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Fri, 2 Apr 1999 12:51:51 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id MAA04557
  7.     for kermit.misc@watsun.cc.columbia.edu; Fri, 2 Apr 1999 12:33:22 -0500 (EST)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: art1958@yahoo.com (Art L.)
  10. Subject: Re: Kermit Script Question
  11. Date: Fri, 02 Apr 1999 17:27:19 GMT
  12. Organization: The Internet Access Company, Inc.
  13. Message-ID: <3704fd1e.80390229@news.tiac.net>
  14. To: kermit.misc@watsun.cc.columbia.edu
  15.  
  16. You need to use the open !read command followed by read statements as
  17. described in "Using C-Kermit, 2nd ed" page 408.
  18.  
  19. On Thu, 18 Mar 1999 10:16:46 -0800, Matt Willman
  20. <willman.matt@cnf.REMOVE.com> wrote:
  21.  
  22. >Got a little scripting question, thought one of you could help.  Running
  23. >Kermit on Aix.
  24. >
  25. >In a Kermit script file I have something similar to the following
  26. >
  27. >define \%m /usr/blah/blah/MODEM
  28. >define GETLINE { run awk -F: '{ print $3 }' \%m }
  29. >
  30. >How do I assign the output of GETLINE to a Kermit variable?  For example
  31. >\%L, or
  32. >whatever I decide the name should be?
  33. >
  34. >Thanks,
  35. >
  36. >Matt
  37. >
  38.